package org.example.bigdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName mission
 */
@TableName(value ="mission")
@Data
public class Mission implements Serializable {
    /**
     * 任务id
     */
    @TableId(value = "mission_id", type = IdType.AUTO)
    private Integer mission_id;

    /**
     * 所属人的手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 任务内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 截止时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 是否完成
     */
    @TableField(value = "isFinished")
    private Integer isFinished;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}